import { configureStore } from '@reduxjs/toolkit'
import userSlice from './modules/userSlice.js'
// 使用configStore 创建实例
const store = configureStore({
  reducer: {
    user: userSlice.reducer,
  },
})

// 导出 store实例
export default store
